package com.ttbj.api.zwrefund;

/**
 * 退款申请的状态 
 */
public enum ZwRefundCodeEnum {
	/**
	 * 0-未审核
	 */
	Unaudited(0, "未审核"),
	/**
	 * 1-审核通过
	 */
	Audit_Pass(1, "审核通过"),
	/**
	 * 2-审核未通过
	 */
	Audit_Failed(2, "审核未通过"),
	/**
	 * 3-退款处理中
	 */
	In_Hand(3, "退款处理中"),
	/**
	 * 4-退款异常
	 */
	Abnormal(4, "退款异常"),
	/**
	 * 5-退款关闭
	 */
	Closed(5, "退款关闭");
	
	private int code;
	private String desc;
	
	private ZwRefundCodeEnum(int code, String desc) {
		this.code = code;
		this.desc = desc;
	}

	public int getCode() {
		return code;
	}

	public String getDesc() {
		return desc;
	}
	
	public static void main(String[] args) {
		for (ZwRefundCodeEnum zCodeEnum : ZwRefundCodeEnum.values()) {
			System.out.println(zCodeEnum.getCode());
		}
	}
}
